<!--
 * @Author: your name
 * @Date: 2021-12-30 16:03:25
 * @LastEditTime: 2021-12-30 16:20:35
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \geek-admin-test\src\pages\mousemove.vue
-->
<template>
    <div class="root" @mousemove="move">
        <h5>X轴:<span>{{x}}</span></h5>
        <h5>Y轴:<span>{{y}}</span></h5>
    </div>
</template>
<script setup>
import { useMouse } from '../utils/useMouse'
let {x,y} = useMouse()
</script>
<style scoped>
.root{
height: 100%;
}
</style>